﻿using System.Windows;
using ComicQ.View;

namespace ComicQ.Dektop.View
{
    /// <summary>
    /// Interaction logic for MainPanelView.xaml
    /// </summary>
    public partial class MainPanelView
    {
        public MainPanelView()
        {
            InitializeComponent();
        }

        private void ButtonMemberClick(object sender, RoutedEventArgs e)
        {
            var newWindow = new MemberView();
            newWindow.ShowDialog();
        }

        private void ButtonStaffClick(object sender, RoutedEventArgs e)
        {
            var newWindow = new StaffView();
            newWindow.ShowDialog();
        }

        private void ButtonComicClick(object sender, RoutedEventArgs e)
        {
            var newWindow = new ComicView();
            newWindow.ShowDialog();
        }

        private void ButtonOrderClick(object sender, RoutedEventArgs e)
        {
            var newWindow = new OrderView();
            newWindow.ShowDialog();
        }
    }
}
